package com.cn.service;

import java.util.List;
import java.util.Map;

import com.cn.pojo.FileInfo;

public interface FileService {
	boolean addFile(String fileName,String url,Integer type);
	List<Map<String,Object>> consultFile();
	FileInfo consultFileById(Integer id);
	List<FileInfo> consultFileByTypeId(Integer typeId);
	boolean deleteFile(Integer id);
	void updateDownLoadSum(Integer id);
}
